package com.vf.cloud.scene.common.mapping;

import com.jfinal.plugin.activerecord.ActiveRecordPlugin;
import com.vf.cloud.scene.common.domain.*;

public class _MappingKit {

	public static void mapping(ActiveRecordPlugin arp) {
		arp.addMapping(SubLayer.TABLE_NAME, "id", SubLayer.class);
		arp.addMapping(SubLayerElement.TABLE_NAME, "id", SubLayerElement.class);
		arp.addMapping(SubLayerState.TABLE_NAME, "id", SubLayerState.class);
		arp.addMapping(SubLayerStylePoi.TABLE_NAME, "id", SubLayerStylePoi.class);
		arp.addMapping(SubMenu.TABLE_NAME, "id", SubMenu.class);
		arp.addMapping(SubMenuLayer.TABLE_NAME, "layer_id,menu_id", SubMenuLayer.class);
		arp.addMapping(SubPoi.TABLE_NAME, "id", SubPoi.class);
		arp.addMapping(SubStyleTemplatePoi.TABLE_NAME, "id", SubStyleTemplatePoi.class);
		arp.addMapping(SubSysMenu.TABLE_NAME, "id", SubSysMenu.class);
	}
}
